Skip to main content

productVersion

Type​

function

Summary​

Returns the version of LiveCode Create currently running

Syntax​

the productVersion
productVersion()

Description​

Use the productVersion function to determine whether a particular feature is supported in the running environment.

The version number belongs to either the LiveCode Create application (if the stack is being edited in the Create environment) or to the running deployed application.

The productVersion of a standalone is the same as the productVersion of LiveCode Create that it was deployed with.

Examples​

put the productVersion into field "Version" of me
set the itemDelimiter to "."
if item 1 of the productVersion is 1 then
answer "This is the first version of create"
end if

Value​

NameTypeDescription

return

The productVersion function returns a string describing the version of LiveCode Create currently running.

control structure: function

function: environment, libURLVersion, buildNumber, version

glossary: application, standalone application, return, engine

Compatibility and Support​

Introduced

LiveCode Create 1.0

OS

mac

windows

linux

ios

android

web

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?